# 请在下面补充你的代码
import math
r = eval(input())
a = eval(input())
Length = a * math.pi * r / 180
print(f'弧长为{Length:.2f}')